package lab02.test07;

public class Test07 {

    public static void main(String[] args) {

        Person zhangsan = new Person();
        zhangsan.name = "zhangsan";
        zhangsan.age = 18;
        zhangsan.idnum = "510403199910102121";

        System.out.println(zhangsan.toString());

        Student limin = new Student();
        limin.name = "limin";
        limin.age = 18;
        limin.idnum = "510403199910102131";
        limin.studentid = "1606100001";
        limin.scool = "SCTU";
        System.out.println(limin.toString());
    }
}
